package edu.sdust.ssmstudy.pojo;

import javax.persistence.*;

@Table(name = "jobs")
public class Jobs {
    @Id
    private Integer id;

    private String title;

    private String url;

    private String company;

    private String location;

    private Double minoffer;

    private Double maxoffer;

    private String city;

    @Column(name = "work_experience")
    private String workExperience;

    private String education;

    private String trades;

    @Column(name = "companyType")
    private String companytype;

    @Column(name = "companySize")
    private String companysize;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title
     */
    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    /**
     * @return url
     */
    public String getUrl() {
        return url;
    }

    /**
     * @param url
     */
    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    /**
     * @return company
     */
    public String getCompany() {
        return company;
    }

    /**
     * @param company
     */
    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }

    /**
     * @return location
     */
    public String getLocation() {
        return location;
    }

    /**
     * @param location
     */
    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    /**
     * @return minoffer
     */
    public Double getMinoffer() {
        return minoffer;
    }

    /**
     * @param minoffer
     */
    public void setMinoffer(Double minoffer) {
        this.minoffer = minoffer;
    }

    /**
     * @return maxoffer
     */
    public Double getMaxoffer() {
        return maxoffer;
    }

    /**
     * @param maxoffer
     */
    public void setMaxoffer(Double maxoffer) {
        this.maxoffer = maxoffer;
    }

    /**
     * @return city
     */
    public String getCity() {
        return city;
    }

    /**
     * @param city
     */
    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    /**
     * @return work_experience
     */
    public String getWorkExperience() {
        return workExperience;
    }

    /**
     * @param workExperience
     */
    public void setWorkExperience(String workExperience) {
        this.workExperience = workExperience == null ? null : workExperience.trim();
    }

    /**
     * @return education
     */
    public String getEducation() {
        return education;
    }

    /**
     * @param education
     */
    public void setEducation(String education) {
        this.education = education == null ? null : education.trim();
    }

    /**
     * @return trades
     */
    public String getTrades() {
        return trades;
    }

    /**
     * @param trades
     */
    public void setTrades(String trades) {
        this.trades = trades == null ? null : trades.trim();
    }

    /**
     * @return companyType
     */
    public String getCompanytype() {
        return companytype;
    }

    /**
     * @param companytype
     */
    public void setCompanytype(String companytype) {
        this.companytype = companytype == null ? null : companytype.trim();
    }

    /**
     * @return companySize
     */
    public String getCompanysize() {
        return companysize;
    }

    /**
     * @param companysize
     */
    public void setCompanysize(String companysize) {
        this.companysize = companysize == null ? null : companysize.trim();
    }
}